package com.everwin.web.service.impl;

import com.everwin.common.annotation.DataScope;
import com.everwin.web.domain.StudentInfo;
import com.everwin.web.mapper.StudentInfoMapper;
import com.everwin.web.service.StudentInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StudentInfoServiceImpl implements StudentInfoService {

    @Autowired
    StudentInfoMapper studentInfoMapper;

    @Override
    @DataScope(userAlias = "s", deptAlias = "s")
    public List<StudentInfo> queryDataInfoList(StudentInfo request) {
        return studentInfoMapper.selectList(request);
    }
}
